import subprocess  

# subprocess.run(['pip', 'config',  'set',  'lobal.index-url', 'https://pypi.tuna.tsinghua.edu.cn/simple'], check=True)

packages = [  
    # 'flask',  
    # 'pyserial',   
    # 'pyqtgraph',   
    # 'pandas',   
    # 'pynput',   
    # 'python-can',   
    'openpyxl',   
]  
  
for package in packages:  
    subprocess.run(['pip', 'install', package], check=True)